package com.bjor.models;

public class Level {

	public double lowerBAC;
	public double upperBAC;
	public double ratioToLower;
	
	public Level(int level)
	{
		if (level == 1)
		{
			lowerBAC = 0.05;
			upperBAC = 0.1;
			ratioToLower = 1/4;
		}
		else if (level == 2)
		{
			lowerBAC = 0.1;
			upperBAC = 0.15;
			ratioToLower = 1/2;
		}
		else if (level == 3)
		{
			lowerBAC = 0.15;
			upperBAC = 0.2;
			ratioToLower = 3/4;
		}
		else
			throw new IllegalArgumentException();

	}
	
}
